

        <g:set var="entityName" value="${message(code: 'exam.label', default: 'Exam')}" />
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="exam.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: examInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="exam.school.label" default="School" /></td>
                            
                            <td valign="top" class="value"><g:link controller="school" action="show" id="${examInstance?.school?.id}">${examInstance?.school?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="exam.classes.label" default="Classes" /></td>
                            
                            <td valign="top" class="value"><g:link controller="classes" action="show" id="${examInstance?.classes?.id}">${examInstance?.classes?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="exam.title.label" default="Title" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: examInstance, field: "title")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="exam.course.label" default="Course" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: examInstance, field: "course")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="exam.startTime.label" default="Start Time" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${examInstance?.startTime}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="exam.term.label" default="Term" /></td>
                            
                            <td valign="top" class="value">${examInstance?.term?.encodeAsHTML()}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="exam.grade.label" default="Grade" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: examInstance, field: "grade")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="exam.team.label" default="Team" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: examInstance, field: "team")}</td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${examInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
